<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>短信发送</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/static/layuiadmin/layui/css/layui.css" media="all">
    <script type="text/javascript" src="/static/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="/static/ueditor/ueditor.all.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/static/ueditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body>

<form class="layui-form" lay-filter="layuiadmin-form-admin" id="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">

    <div class="layui-form-item">
        <label class="layui-form-label">短信模板</label>
        <div class="layui-input-block">
            <select name="smsTemplate" lay-verify="">
                <option value="-1" selected>请选择通知模板</option>
                {volist name="singleMsgTemplate" id="vo"}
                <option value="{$vo['key']}">{$vo['value']}</option>
                {/volist}
            </select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">通知标题</label>
        <div class="layui-input-block">
            <input type="text" name="msg_title"  lay-verify="required" placeholder="请输入通知标题" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">通知内容</label>
        <div class="layui-input-block" style="z-index: 1;">
                                    <textarea name="msg_content" id="about" cols="30"
                                              rows="10"></textarea>
        </div>
        <input type="hidden" name="stu_id" value="{$stu_id}">
    </div>
    <div class="layui-form-item layui-hide">
        <button class="layui-btn" lay-submit lay-filter="LAY-sendMessage-submit" id="LAY-sendMessage-submit">提交</button>
    </div>
</form>

<script src="/static/layuiadmin/layui/layui.js"></script>
<script>
    var ue = UE.getEditor("about", {initialFrameHeight: 300, initialFrameWidth: 643.2}); //富文本编辑器对象
    layui.config({
        base: '/static/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'form'], function () {
        var $ = layui.$
            , form = layui.form;
    })
</script>
</body>
</html>
